package com.eunion.core.common.request.impl;

import java.util.List;

import com.eunion.core.common.request.Sorting;
import com.eunion.core.common.request.SortingRequest;

public class SortingRequestImpl<T> implements SortingRequest<T> {

    private static final long serialVersionUID = 1L;

    private T query;

    private List<Sorting> sortings;

    @Override
    public T getQuery() {
        return query;
    }

    public void setQuery(T query) {
        this.query = query;
    }

    @Override
    public List<Sorting> getSortings() {
        return sortings;
    }

    public void setSortings(List<Sorting> sortings) {
        this.sortings = sortings;
    }

}
